<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>添加到购物车</title>
	<link rel="stylesheet" type="text/css" href="style/index.css">
	<script type="text/javascript" data-main="js/index" src="js/require.min.js"></script>
</head>
<body>
	<ul id="list">
		<li>
			<a href="javascript:;" class="add" data-id="1" data-url="images/1.jpg" data-name="这是第1个商品" data-price="59">添加到购物车</a>
			<img src="images/1.jpg" alt="">
			<div class="goods-name">这是第1个商品</div>
			<div class="goods-price">59</div>
		</li>
		<li>
			<a href="javascript:;" class="add" data-id="2" data-url="images/2.jpg" data-name="这是第2个商品" data-price="59">添加到购物车</a>
			<img src="images/2.jpg" alt="">
			<div class="goods-name">这是第2个商品</div>
			<div class="goods-price">59</div>
		</li>
		<li>
			<a href="javascript:;" class="add" data-id="3" data-url="images/3.jpg" data-name="这是第3个商品" data-price="59">添加到购物车</a>
			<img src="images/3.jpg" alt="">
			<div class="goods-name">这是第3个商品</div>
			<div class="goods-price">59</div>
		</li>
		<li>
			<a href="javascript:;" class="add" data-id="4" data-url="images/4.jpg" data-name="这是第4个商品" data-price="59">添加到购物车</a>
			<img src="images/4.jpg" alt="">
			<div class="goods-name">这是第4个商品</div>
			<div class="goods-price">59</div>
		</li>
		<li>
			<a href="javascript:;" class="add" data-id="5" data-url="images/5.jpg" data-name="这是第5个商品" data-price="59">添加到购物车</a>
			<img src="images/5.jpg" alt="">
			<div class="goods-name">这是第5个商品</div>
			<div class="goods-price">59</div>
		</li>
		<li>
			<a href="javascript:;" class="add" data-id="6" data-url="images/6.jpg" data-name="这是第6个商品" data-price="59">添加到购物车</a>
			<img src="images/6.jpg" alt="">
			<div class="goods-name">这是第6个商品</div>
			<div class="goods-price">59</div>
		</li>
		<li>
			<a href="javascript:;" class="add" data-id="7" data-url="images/7.jpg" data-name="这是第7个商品" data-price="59">添加到购物车</a>
			<img src="images/7.jpg" alt="">
			<div class="goods-name">这是第7个商品</div>
			<div class="goods-price">59</div>
		</li>
		<li>
			<a href="javascript:;" class="add" data-id="8" data-url="images/8.jpg" data-name="这是第8个商品" data-price="59">添加到购物车</a>
			<img src="images/8.jpg" alt="">
			<div class="goods-name">这是第8个商品</div>
			<div class="goods-price">59</div>
		</li>
	</ul>
</body>
</html>